<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<#setting number_format = "#"/>
<#setting datetime_format = dateTimeFormat/>
<#assign logged = logged?default(false)/>
<#assign language = language?default("en_US")/>
<#assign hasCodeBlock = hasCodeBlock?default(false)/>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
<style type="text/css">@import url( ${contextPath}/templates/${templateName}/styles/style.css?${startupTime} );</style>
<style type="text/css">@import url( ${contextPath}/templates/${templateName}/styles/${language}.css?${startupTime} );</style>


<style type="text/css" title="A">@import url( ${contextPath}/templates/${templateName}/styles/normal.css?${startupTime} );</style>
<style type="text/css" title="A+">@import url( ${contextPath}/templates/${templateName}/styles/medium.css?${startupTime} );</style>
<style type="text/css" title="A++">@import url( ${contextPath}/templates/${templateName}/styles/large.css?${startupTime} );</style>

<#if hasCodeBlock>
	<style type="text/css">@import url( ${contextPath}/templates/${templateName}/styles/SyntaxHighlighter.css?${startupTime} );</style>
</#if>

<title>${pageTitle?default("JForum")?html}</title>

</head>
<body class="section-ucp ltr ${language}">



<!--
Original theme from phpBB (http://www.phpbb.com) subSilver
Created by subBlue design
http://www.subBlue.com

Modifications by JForum Team
-->

<div id="wrap">
	<a id="top" name="top" accesskey="t"></a>
	<div id="page-header">
		<div class="headerbar">
			<div class="inner"><span class="corners-top"><span></span></span>

			   <div id="site-description">
                <a href="${homepageLink}"><img src="${contextPath}/templates/${templateName}/img/site_logo.gif"  vspace="1"  width="149" height="52" alt="" title="" id="logo"/></a>
                <h1>${forumoname}</h1>
				<p>${forumTitle}</p>
				
			   </div>

		
			   <div id="search-box">
				<form action="${JForumContext.encodeURL("/jforum")}" method="get" id="search" method="get">
				<fieldset>
                    <input type="hidden" name="module" value="search" />
                    <input type="hidden" name="action" value="search" />
					<input name="search_keywords" id="search_keywords" type="text" maxlength="128" class="inputbox search" value="${I18n.getMessage("ForumBase.search")}&#8230;" onclick="if(this.value=='${I18n.getMessage("ForumBase.search")}&#8230;')this.value='';" onblur="if(this.value=='')this.value='${I18n.getMessage("ForumBase.search")}&#8230;';" />
					<input class="button2" value="${I18n.getMessage("ForumBase.search")}" type="submit" /><br />
					<a href="${JForumContext.encodeURL("/search/filters")}">${I18n.getMessage("ForumBase.advancedSearch")}</a> 
				</fieldset>
				</form>
			   </div>
	
			   <span class="corners-bottom"><span></span></span>
                        </div>
		</div>

		<div class="navbar">
			<div class="inner">
                     <span class="corners-top"><span></span></span>
			         <ul class="linklist navlinks">
                         <li class="icon-home"><a id="backtosite" class="mainmenu" href="${homepageLink}">${I18n.getMessage("ForumBase.backToSite")}</a>
                         
                          <#if forum?exists>
                               <strong>&#8249;</strong>&nbsp;<a class="maintitle" href="${JForumContext.encodeURL("/forums/show/${forum.id}")}">${forum.name?html} </a>
                                  
                          </li>
                        </#if>                               
                               
                               

                               
                               
	                   </ul>
                           <#if logged>
                           <ul class="linklist leftside">
			   	<li class="icon-ucp">
					<a href="${JForumContext.encodeURL("/user/edit/${session.userId}")}">${I18n.getMessage("ForumBase.profile")}</a> 
					     (<a href="${JForumContext.encodeURL("/pm/inbox")}">${I18n.getMessage("ForumBase.newPm")}:<strong> ${session.privateMessages}</strong></a>)
					     <#if bookmarksEnabled>
					         &bull; <a href="${JForumContext.encodeURL("/bookmarks/list/${session.userId}")}">${I18n.getMessage("Bookmarks.myBag")}</a>&nbsp;
					     </#if>
					
                                </li>
			    </ul>
        	            </#if>
			    <ul class="linklist rightside">
                                <#if logged>
					<li class="icon-members">
                                            <a id="latest2" class="mainmenu" href="${JForumContext.encodeURL("/user/list")}">${I18n.getMessage("ForumBase.usersList")}</a>
                                        </li>
					<#if !sso>
                                            <li class="icon-logout">
                                               <a id="logout" href="${JForumContext.encodeURL("/user/logout")}" title="Login">${I18n.getMessage("ForumBase.logout")} [${session.username}]</a>
                                             </li>
					</#if>
				</#if>
                                <#if !logged && !sso>
                                        <li class="icon-register">
                                            <a id="register" href="${JForumContext.encodeURL("/user/insert")}"> ${I18n.getMessage("ForumBase.register")}</a>
                                        </li>
                                        <li class="icon-logout">
                                            <a id="login" href="${JForumContext.encodeURL("/user/login")}" title="Login" /> ${I18n.getMessage("ForumBase.login")}</a>
                                        </li>
                                 </#if>				
			      </ul>
			      <span class="corners-bottom"><span></span></span>
                          </div>
		</div>
	</div>
<div id="page-body">
